package cn.qingyun.gis.modules.youshang.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.math.BigDecimal;
import java.util.Date;


/**
 * @Description: 友商渠道勘误表实体对象
 * @Version: V1.0
 */
@Data
@TableName("ys_channel_proofread")
@ApiModel(value = "YsChannelProofread对象", description = "YsChannelProofread对象")
public class YsChannelProofread {

    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    @Excel(name = "主键id", width = 15)
    private String id;

    /**
     * 友商渠道名称
     */
    @ApiModelProperty(value = "友商渠道名称")
    @Excel(name = "友商渠道名称", width = 15)
    private String ysChannelName;

    /**
     * 经度
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)//使用mp更新该字段时，可以更新为null
    @ApiModelProperty(value = "经度")
    @Excel(name = "经度", width = 15)
    private BigDecimal lon;

    /**
     * 纬度
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)//使用mp更新该字段时，可以更新为null
    @ApiModelProperty(value = "纬度")
    @Excel(name = "纬度", width = 15)
    private BigDecimal lat;

    /**
     * 0：正常经营| 1：关门营业
     */
    @ApiModelProperty(value = "0：正常经营| 1：关门营业")
    @Excel(name = "0：正常经营| 1：关门营业", width = 15)
    private String operateState;

    /**
     * 归属运营商
     */
    @ApiModelProperty(value = "归属运营商")
    @Excel(name = "归属运营商", width = 15)
    private String belongOperator;

    /**
     * 友商渠道一级类型（0：运营商自办厅，1：代办厅（无手机销售），2：代办厅（有手机销售））
     */
    @ApiModelProperty(value = "友商渠道一级类型（0：运营商自办厅，1：代办厅（无手机销售），2：代办厅（有手机销售））")
    @Excel(name = "友商渠道一级类型（0：运营商自办厅，1：代办厅（无手机销售），2：代办厅（有手机销售））", width = 15)
    private String channelOneType;

    /**
     * 房屋类型(0:运营商自有房产，1:运营商租赁房产，2:代理商自有房产，1:代理商租赁房产)
     */
    @ApiModelProperty(value = "房屋类型(0:运营商自有房产，1:运营商租赁房产，2:代理商自有房产，1:代理商租赁房产)")
    @Excel(name = "房屋类型(0:运营商自有房产，1:运营商租赁房产，2:代理商自有房产，1:代理商租赁房产)", width = 15)
    private String houseType;

    /**
     * 房屋面积(平方米)
     */
    @ApiModelProperty(value = "房屋面积(平方米)")
    @Excel(name = "房屋面积(平方米)", width = 15)
    private String floorSpace;

    /**
     * 老板姓名
     */
    @ApiModelProperty(value = "老板姓名")
    @Excel(name = "老板姓名", width = 15)
    private String bossName;

    /**
     * 老板联系方式
     */
    @ApiModelProperty(value = "老板联系方式")
    @Excel(name = "老板联系方式", width = 15)
    private String bossPhone;

    /**
     * 友商渠道二级类型
     */
    @ApiModelProperty(value = "友商渠道二级类型")
    @Excel(name = "友商渠道二级类型", width = 15)
    private String channelTwoType;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
//    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
//    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /**
     * poi-id
     */
    @ApiModelProperty(value = "poi-id")
    @Excel(name = "poi-id", width = 15)
    private String poiId;

    /**
     * 省份
     */
    @ApiModelProperty(value = "省份")
    @Excel(name = "省份", width = 15)
    private String province;

    /**
     * 城市
     */
    @ApiModelProperty(value = "城市")
    @Excel(name = "城市", width = 15)
    private String city;

    /**
     * 区
     */
    @ApiModelProperty(value = "区")
    @Excel(name = "区", width = 15)
    private String district;

    /**
     * 详细地址
     */
    @ApiModelProperty(value = "详细地址")
    @Excel(name = "详细地址", width = 15)
    private String multiAddrChn;

    /**
     * 所属网格编码
     */
    @ApiModelProperty(value = "所属网格编码")
    @Excel(name = "所属网格编码", width = 15)
    private String gridId;

    /**
     * 所属网格名称
     */
    @ApiModelProperty(value = "所属网格名称")
    @Excel(name = "所属网格名称", width = 15)
    private String gridName;

    @ApiModelProperty(value = "核实状态")
    private Integer kwStatus;

    @ApiModelProperty(value = "数据版本")
    private Integer dataVersion;

    /**
     * 20231009添加字段
     */

    @ApiModelProperty(value = "POI名称")
    @Excel(name = "POI名称", width = 15)
    private String poiName;

    @ApiModelProperty(value = "归属地市编码")
    @Excel(name = "归属地市编码", width = 15)
    private String cityCode;

    @ApiModelProperty(value = "归属微网格编码")
    @Excel(name = "归属微网格编码", width = 15)
    private String mircoGridId;

    @ApiModelProperty(value = "归属微网格名称")
    @Excel(name = "归属微网格名称", width = 15)
    private String mircoGridName;

    @ApiModelProperty(value = "摸排人工号")
    @Excel(name = "摸排人工号", width = 15)
    private String kwPhone;

    @ApiModelProperty(value = "运营商类型编码")
    @Excel(name = "运营商类型编码", width = 15)
    private String categoryIds;

    @ApiModelProperty(value = "运营商类型描述")
    @Excel(name = "运营商类型描述", width = 15)
    private String categoryNames;

    /*
     * 2023-10-11 添加2个字段
     * */
    @ApiModelProperty(value = "所属业务地市")
    @Excel(name = "业务地市", width = 15)
    private String regionCity;

    @ApiModelProperty(value = "所属业务地市编码")
    @Excel(name = "业务地市编码", width = 15)
    private String regionCityCode;

    @ApiModelProperty(value = "所属业务区县")
    @Excel(name = "业务区县", width = 15)
    private String regionDistricts;

    @ApiModelProperty(value = "所属业务区县")
    @Excel(name = "业务区县编码", width = 15)
    private String regionDistrictsCode;

    @ApiModelProperty(value = "地址描述")
    @Excel(name = "地址描述", width = 15)
    private String addressDescription;

    @TableField(exist = false)
    @ApiModelProperty(value = "距离")
    private BigDecimal distance;

}
